<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<style type="text/css">

body {
  font-family: sans-serif;
  background-color: #FFF;
  color:#000;
}

img {
  border: 0;
}

ul.menu { 
   position:relative;
   margin-bottom:0px;
   margin-top:0px;
   left:-2.5em;
}

a { text-decoration: none; }

a:hover { font-weight: bold; }

li.menu { 
   list-style-type: none;
   position: relative;
   text-decoration: none;
}


#sidebar { 
   position: absolute;
   left:0px;
   padding:2em;
   top:0em;
   width:13em;
}

#content { 
  position: absolute;
  left:13em; top:0em;
  padding-left:3em;
  padding-right:3em;
  padding-bottom:1em;
  margin-top:1em;
  margin-right:2em;
}

div.mbox {
  background-color:#EEEEFF;
  border: 1px solid #bbbbff;
  padding: 0.5em 0.5em 0.5em 0.5em;
  margin:1em;
  width: 10em;
  -moz-border-radius-topleft: 9px;	
  -moz-border-radius-topright: 9px;
  -moz-border-radius-bottomleft: 9px;	
  -moz-border-radius-bottomright: 9px;
}

div.title { 
  font-weight:bold; 
  background-color:#DDDDFF; 
  margin-bottom:1px;
}

</style>
<title>ucanvcam: Linux tips</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<LINK REL="SHORTCUT ICON" HREF="favicon.ico">
</head><body>

<div id="sidebar"> 

<h2 style="text-align:center;">ucanvcam</h2>



<div class="mbox">
<div class=title>The Manual</div>
<ul class=menu>
<li class=menu><a href="index.html">Main&nbsp;Page</a></li>
<li class=menu><a href="annotated.html">Classes</a></li>
<li class=menu><a href="install.html">Installation</a></li>
<li class=menu><a href="linux_tips.html">Linux Tips</a></li>
<li class=menu><a href="windows_tips.html">Windows Tips</a></li>
</ul>
</div>

<div class="mbox">
<div class=title>Online Resources</div>
<ul class=menu>
<li class=menu><a href="http://code.google.com/p/ucanvcam/">Project page</a></li>
<li class=menu><a href="http://code.google.com/p/ucanvcam/downloads/list">Downloads</a></li>
<li class=menu><a href="http://code.google.com/p/ucanvcam/w/list">Wiki</a></li>
<li class=menu><a href="http://code.google.com/p/ucanvcam/source/checkout">Repository</a></li>
</ul>
</div>


<div class="mbox">
<div class=title>Related&nbsp;Links</div>
<ul class=menu>
<li class=menu><a href="http://eris.liralab.it/yarp">YARP</a></li>
<li class=menu><a href="http://www.makesweet.com/">MakeSweet</a></li>
<li class=menu><a href="http://effectv.sourceforge.net/">EffecTV</a></li>
<li class=menu><a href="http://www.allocinit.com/index.php?title=CamTwist">CamTwist</a></li>
</ul>



</div>

<center>
<i><small>generated by doxygen</small></i>
</center>


</div>


<div id="content" >

<!-- Generated by Doxygen 1.5.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1><a class="anchor" name="linux_tips">Linux tips </a></h1>ucanvcam should work out of the box on linux, in the sense that you can read images from a webcam and apply effects.<p>
However, in order to output the result as a "virtual camera" that something like skype can read from, you need the vloopback module. And video support specifically in skype on linux currently has some limitations, so you may need the common "gstfakevideo" workaround to make it happy.<h2><a class="anchor" name="linux_tips_module">
vloopback module</a></h2>
The vloopback module lets you create a virtual video4linux device.<p>
See <a href="http://www.lavrsen.dk/twiki/bin/view/Motion/VideoFourLinuxLoopbackDevice">http://www.lavrsen.dk/twiki/bin/view/Motion/VideoFourLinuxLoopbackDevice</a><p>
ucanvcam is tested against vloopback-1.1 (look for vloopback-1.1.tar.gz or newer). Download, install, and "modprobe" the vloopback device.<p>
When you restart ucanvcam, you should now have two /dev/videoN listings that do not correspond to any physical hardware that you possess. One of these (the lower number) is where ucanvcam should output to, and the other is where other applications can read the transform video stream from.<h2><a class="anchor" name="linux_tips_skype">
skype support</a></h2>
Hopefully by the time you read this skype's video support on linux will have improved. In the meantime you may need to download gstfakevideo - See <a href="http://code.google.com/p/gstfakevideo/">http://code.google.com/p/gstfakevideo/</a><p>
Run a command like the following: <div class="fragment"><pre class="fragment">
  gstfakevideo v4lsrc device=/dev/video1 ! ffmpegcolorspace
</pre></div> (replacing /dev/video1 with whatever is appropriate on your system). </div>

</div>

</body>
</html>
